package com.dq.controller.in;

import com.dq.controller.in.base.BaseAdminQuery;
import com.dq.domain.sys.user.user.BossUser;
import com.dq.domain.sys.user.user.StaffUser;
import com.dq.domain.sys.user.user.base.SysUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liuhui
 * @date 2019/11/23 0023 14:32:18
 */
@Data
@ApiModel("顾客档案查询实体")
public class CustomerQuery  extends BaseAdminQuery {
    @ApiModelProperty(value = "顾客编号/会员卡号")
    private String cardNo;
    @ApiModelProperty(value = "顾客登陆名")
    private String userRealcName;
    @ApiModelProperty("用户姓名/手机号/会员卡号")
    public String value;

    @ApiModelProperty("技师id")
    public Long staffUserId;
    @ApiModelProperty("技师名称")
    public String staffUserName;
    @ApiModelProperty("门店id")
    public Long orgId;
    @ApiModelProperty("门店名称")
    public String orgName;

    @ApiModelProperty("状态")
    protected SysUser.Status status;

    @ApiModelProperty("开始时间")
    public Long beginTime;
    @ApiModelProperty("结束时间")
    public Long endTime;
    @ApiModelProperty("顾客会龄开始")
    public Long customerAgeBegin;
    @ApiModelProperty("顾客会龄结束")
    public Long customerAgeEnd;

    @ApiModelProperty("顾客等级id")
    public Long levelId;
    @ApiModelProperty("顾客等级名称")
    public String levelName;

    @ApiModelProperty("openid是否为空(1不为空 2为空)")
    public Long flag;
    @ApiModelProperty("员工状态")
    public BossUser.StaffUserStatus staffStatus;
}
